package tables

import (
	"time"
)

type CouponHexiao struct {
	Id             int       `xorm:"not null pk autoincr INT(10)" json:"id" form:"id" mapstructure:"id"`
	UserId         int       `xorm:"" json:"user_id" form:"user_id" mapstructure:"user_id"`
	MerUserId      int       `xorm:"" json:"mer_user_id" form:"mer_user_id" mapstructure:"mer_user_id"`
	CouponId       int       `xorm:"" json:"coupon_id" form:"coupon_id" mapstructure:"coupon_id"`
	CouponOrderId  int       `xorm:"" json:"coupon_order_id" form:"coupon_order_id" mapstructure:"coupon_order_id"`
	CouponValidNum int       `xorm:"" json:"coupon_valid_num" form:"coupon_valid_num" mapstructure:"coupon_valid_num"`
	HxUserId       int       `xorm:"" json:"hx_user_id" form:"hx_user_id" mapstructure:"hx_user_id"`
	CreatedAt      time.Time `xorm:"created" json:"created_at" form:"created_at" mapstructure:"created_at"`
	UpdatedAt      time.Time `xorm:"updated" json:"updated_at" form:"updated_at" mapstructure:"updated_at"`
	DeletedAt      time.Time `xorm:"deleted" json:"deleted_at" form:"deleted_at" mapstructure:"deleted_at"`
}
